package com.yupi.springbootinit.service;

import com.yupi.springbootinit.model.entity.Comment;
import com.yupi.springbootinit.model.entity.CommentRq;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author LENOVO
* @description 针对表【comment_rq(评论回复)】的数据库操作Service
* @createDate 2024-09-19 08:24:06
*/
public interface CommentRqService extends IService<CommentRq> {


    /**
     * 验证评论回复
     * */
    void validCommentRq(CommentRq comment, boolean add);

    List<String> uploadImage(List<MultipartFile> files);

    boolean deleteCommentRqImage(String fileName);

    boolean deleteOldCommentRq(Long postId);

}
